﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Cosmetic.Logic;

namespace WebApp.Controls
{
    public partial class IndexAd03 : System.Web.UI.UserControl
    {
        AdvertiseManager theAdtertiseManager = new AdvertiseManager();
        protected void Page_Load(object sender, EventArgs e)
        {
            Cosmetic.DataEntity.IndexAd03 ia = theAdtertiseManager.GetIndexAd03();
            this.HyperLink1.NavigateUrl = ia.Url;
            this.Image1.ImageUrl = ia.PicUrl;
        }
    }
}